from libs.exception import BaseHTTPException
from flask_babel import gettext as _

class HProdTagNotFoundError(BaseHTTPException):
    error_code = "tag_nofound_error"
    code = 400
    def __init__(self,tag_id:str|None):
        self.description = _("Product tag not found error.{message}").format(message=tag_id)
        super().__init__(self.description)